﻿* {
    padding: 0;
    margin: 0;
}

#file_box {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 5px;
    border: dashed #999999;
    background: url(../image/addimg.svg) no-repeat;
    background-position: 32px; /*设置位置*/
}

#file_elem {/*文件按钮*/
    position: absolute;
    width: 100px;
    height: 100px;
    opacity: 0;
}

#list_ul {
    display: flex;
    justify-content: flex-start;
}

#list_ul li {/*所有文件li*/
    width: 150px;
    height: 150px;
    position: relative;
    overflow: hidden;
    display: inline-block;
    margin-right: 5px;
}

#list_ul li img.file_img {/*要显示的文件*/
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    position: absolute;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 6;
}

.list_box {/*小图标容器*/
    position: absolute;
    z-index: 9;
    bottom: 0;
    width: 100%;
    height: 13%;
    padding: 2px;
    display: flex;
    justify-content: space-around;
    background: rgba(0, 0, 0, .6);
}

.list_box img {/*小图标*/
    width: 15px;
    height: 15px;
    cursor: pointer;
}

#list_ul li:first-child img.left {/*左箭头*/
    opacity: .6;
    cursor:pointer; /*no-drop;*/
}

#list_ul li:last-child img.right {/*右箭头*/
    opacity: .6;
    cursor: pointer;
}
